package com.ryskoo.cms.advert.domain;

import com.ryskoo.framework.core.bean.BasicPO;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 广告信息表：平台后台发布广告信息，客户前台展示相应的广告
 *
 * @author renyuting
 * @data 2018-05-03
 */
@Entity
@Table(name = "CMS_ADVERT")
public class AdvertPO extends BasicPO {

    /** 广告名称 */
    @Column(name = "name", length = 50)
    private String name;

    /** 广告备注 */
    @Column(name = "note", length = 255)
    private String note;

    /** 发布终端：0移动端，1PC端 */
    @Column(name = "release_terminal", length = 2)
    private String releaseTerminal;

    /** 排序值 */
    @Column(name = "sort_value", length = 25)
    private String sortValue;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public String getReleaseTerminal() {
        return releaseTerminal;
    }

    public void setReleaseTerminal(String releaseTerminal) {
        this.releaseTerminal = releaseTerminal;
    }

    public String getSortValue() {
        return sortValue;
    }

    public void setSortValue(String sortValue) {
        this.sortValue = sortValue;
    }
}
